﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kimd.Communication
{
   public interface ISocket
    {
        /// <summary>
        /// 连接事件--
        /// </summary>
        event EventHandler<TcpClientStateEventArgs> Connected;
        /// <summary>
        /// 断开事件
        /// </summary>
        event EventHandler<TcpClientStateEventArgs> Disconnected;
    }
}
